package com.shd.edanpei.presenter.contract;

import com.shd.edanpei.ui.adapter.HomeAdapter;
import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.view.RefreshLayout;

/**
 * Created by mc on 2018/10/19.
 * yang-wen-wen
 */

public interface HomeContract {

    interface HomeIView extends BaseIView {

        HomeAdapter getAdapter();

        RefreshLayout getRefreshLayout();

        void addFootView();

        void removeFootView();

    }

    interface HomeIPresenter extends BaseIPresenter {

        void refresh();

        void showTakeDialog(int orderID, int index);

        void allRefresh();
    }
}
